package com.ruoyi.supermarket.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 职位管理对象 post
 * 
 * @author ruoyi
 * @date 2024-07-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Post implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 职位id */
    private Long pid;

    /** 职位名称 */
    @Excel(name = "职位名称")
    private String pname;

    /** 职位描述 */
    @Excel(name = "职位描述")
    private String description;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long deleted;

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

}
